import logo from "@/assets/images/logo.png";
import { connect } from "react-redux";
import SvgIcon from "@/components/svgIcon";
const Logo = (props: any) => {
	const { isCollapse } = props;
	return (
		<div className="logo-box">
			{/* <img src={logo} alt="logo" className="logo-img" /> */}
			<SvgIcon name="logo" iconStyle={{ width: "50px", height: "50px" }} />
			{!isCollapse ? <h2 className="logo-text ml-15 text-18 font-bold max-w-140 flex-shrink-0 mb-0">楚楚街卖家中心</h2> : null}
		</div>
	);
};

const mapStateToProps = (state: any) => state.menu;
export default connect(mapStateToProps)(Logo);
